home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / parallax / more_exa.tar / more / Fluids / README.lattice_gas < prev    next >
Text File  |  1992-08-28  |  1KB  |  33 lines

  1. README-File for the Immiscible-Lattice-Gas program:
  2.  
  3.  
  4. The purpose of this program is to simulate droplet deformation and droplet coagulation applying to the lattice-gas-model.
  5.  
  6. In the model there are two different types of particels called "red" and "blue" particels representing two different fluids. Particels are placed on the hexagonal net. At all nodes only one particle for each direction and one "rest particle" is allowed.
  7.  
  8. The dimensions of the hexagonal net can be up to 1024x1024 nodes. They have to be set in the second not commented line in the program:
  9.  
  10.  
  11.          const maxnet=128;
  12.  
  13.  
  14. If the dimensions are changed you have to compile the program:
  15.  
  16.          pz2mpl -p ilg.p
  17.  
  18.  
  19.  
  20. The input is realized with the Input-Files in the subdirectory koltab (the collision tables) and  ilg.input:
  21.  
  22. You can change the values if you want to simulate different collisions. See this file for further informations -- only change the values but no changes on the text !
  23.  
  24. The ouput-files of the program are
  25.   - one control file `control.dat` filled with informations about the run 
  26.   - SUN-Rasterfiles to see if one node has more red than blue particels
  27.       an example of this files is example.output:
  28.       with "xv -black blue -white red example.output" you can visualize it
  29.       on your screen.
  30.   - vector-files to see the velocity in a set of nodes.
  31.       see the vectorview program "vv" for further informations.
  32.  
  33.